// 信息相关接口

const api = {
	// 开始考试
	userExamsStart: {
		url: "/api/answer/userExams/start",
		method: "POST",
		showLoading: true,
		limit : 1000,
		auth : true,
	},
	// 提交试卷
	userExamsSubmit: {
		url: "/api/answer/userExams/submit",
		method: "POST",
		showLoading: true,
		limit : 1000,
		auth : true,
	},
	// 选择题目
	userExamsSelectAnswer: {
		url: "/api/answer/userExams/selectAnswer",
		method: "POST",
		debounce : 500,
		auth : true,
	},
	// 获取用户考试记录列表
	getUserExamRecords: {
		url: "/api/answer/userExams/list",
		method: "GET",
		showLoading: false,
		auth : true,
	},
	// 获取用户考试记录详情
	getUserExamRecordDetail: {
		url: "/api/answer/userExams/byId",
		method: "GET",
		showLoading: true,
		auth : true,
	},
};

export default api;